package com.example.g7640.dto;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
public class OrderDto {

    private Integer id;

    /**
     * Customer ID (Foreign Key)
     */
    private Integer cid;

    /**
     * Order Status (-1 deleted, 0 created, 1 expressing, 2 finished, 3 canceled)
     */
    private Integer status;

    /**
     * Order Date
     */
    private String date;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;


    private List<OrderDetailDto> detailList;
}
